<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends CI_controller {
 
  public function index() {

 
    $data = array(
      'header' => $this->load->view('templates/header', array(), TRUE),
      'main' => $this->load->view('templates/main', array(), TRUE),
      'footer' => $this->load->view('templates/footer', array(), TRUE)
    );

    $data = array(
    	'mensajess' => $this->load->view('mensaje/index', array(), TRUE)
    );

    $this->load->view('templates/main', $data);
    $this->load->view('templates/default', $data);
  } 
   
}
?>
